from django.urls import path, include
from . import views

app_name = 'manager'

urlpatterns = [
    # 添加数据测试
    # manager的后续操作
    path("user_market/", views.user_market, name='user_market'),
    path("detail_everytask/<int:id>/", views.detail_everytask, name='detail_everytask'),
    path('task_admin/<str:condition>/', views.task_admin, name='task_admin'),
    path('task_check/<int:id>/', views.task_check, name='task_check'),
    path('check/<int:task_id>/<int:res>/', views.check, name='check'),
    path('check_score/<int:id>/', views.check_score, name='check_score'),
    path('confirm/<int:task_id>/', views.confirm_end, name='confirm'),
    path('cancel/<int:task_id>/', views.cancel_end, name='cancel'),
]
